package com.example.wechattakeaway.service;

import com.example.wechattakeaway.entity.OrderSupply;
import com.example.wechattakeaway.vo.ResultVO;

import javax.annotation.Resource;
import java.util.List;

public interface OrderSupplyService {

    /*
    增加一个订单补充
    @param orderDetailId,Content
    @return null
     */
    ResultVO InsertSupply(Integer orderDetailId, String content);

    /*
    根据id精确查询
    @param supplyId
    @return OrderSupply
     */
    ResultVO SelectSupplyById(Integer supplyId);

    /*
    根据订单详情id查询该订单所有补充内容
    @param orderDetailId
    @return
     */
    ResultVO SelectAllByOrder(Integer pageNum,Integer orderDetailId);

}
